// 复合索引
//查询两个索引的值
var startTime = new Date();
var db = connect('company');
var rs = db.randomInfo.find({
    username: "7da1izpzt9",
    randNum0: 387626
}).hint({
    randNum0: 1
});
rs.forEach(rs => {
    printjson(rs)
});
var runTime = new Date().getTime() - startTime;
print('[Demo]this run time is ' + runTime + 'ms');